<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:p="http://primefaces.org/ui" xml:lang="en" lang="en">
<f:view locale="#{localeBean.currentLocale}" />
<h:head>
	<title>MOJ</title>
</h:head>
<h:body>
	<ui:composition template="/template/masterTemplate.xhtml">
		<ui:define name="content">
			<h:form prependId="false">
				<p:growl id="growl" showDetail="true" />
				<p:panel header="#{msgs['manageUsers.lable.title']}">
				<h:panelGrid columns="2" width="80%">
					<h:panelGrid columns="3" cellpadding="5" cellspacing="5">
						<p:outputLabel value="#{msgs['manageUsers.lable.userName']}" />
						<p:inputText id="userName" />
						<p:commandButton value="#{msgs['btn.label.search']}" />
						<p:outputLabel value="#{msgs['manageUsers.lable.employeeName']}" />
						<p:inputText id="empName" />
						<p:column/>
						<p:outputLabel value="#{msgs['manageUsers.lable.active']}" />
						<p:selectBooleanCheckbox />
					</h:panelGrid>
					<p:panel header="الصلاحيات" >
					 <p:selectManyCheckbox	layout="grid" columns="3" >
						<f:selectItem itemLabel="1"/>
						<f:selectItem itemLabel="2"/>
						<f:selectItem itemLabel="3"/>
					</p:selectManyCheckbox>
					</p:panel>
					</h:panelGrid>
					<p:dataTable id="groups" var="item" value="#{manageUsersBean.contacts}"  
	                 paginator="true" rows="10"  paginatorPosition="bottom" rowIndexVar="rowIndex"
	                 paginatorTemplate=" {FirstPageLink} {PreviousPageLink} {PageLinks} {NextPageLink} {LastPageLink} {RowsPerPageDropdown}"  
	                 rowsPerPageTemplate="5,10,15">  
			  
			        <p:column >  
			            <f:facet name="header">  
			                <h:outputText value="#{msgs['manageUsers.lable.employeeName']}" />  
			            </f:facet>
			            <h:outputText value="#{item.sAMAccountName}"/> 
			        </p:column> 
			        <p:column >  
			            <f:facet name="header">  
			                <h:outputText value="#{msgs['manageUsers.lable.employeeName']}" />  
			            </f:facet>
			            <h:outputText value="#{item.fullName}"/> 
			        </p:column>
				  </p:dataTable>
				</p:panel>
			</h:form>
		</ui:define>
	</ui:composition>
</h:body>
</html>
